﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FrameWork.Plugin;
using FrameWork.Setting;
using FrameWork.Log;
using System.Reflection;
using System.Runtime.InteropServices;
using System.ComponentModel;
using FrameWork.Output;
using System.Windows.Forms;
using ScreenMonitor.ClientLib.Plugin;

namespace PluginTestClient
{
    [SettingParentDefine]
    public class TestPlugin : IClientPlugin
    {

        public string GetPluginName()
        {
            return "TestPlugin";
        }

        public Guid GetPluginGuid()
        {
            return new Guid("49E8F690-74F9-47C3-ACFA-16A8A95C7A00");
        }

        public string GetPluginDescription()
        {
            return "Test";
        }

        public List<FrameWork.Setting.SettingEditorItem> GetSettingEditors()
        {
            List<SettingEditorItem> EditorList = new List<SettingEditorItem>();
            EditorList.Add(new SettingPropertyEditorItem(@"测试插件\显示", this, this.GetType()));
            return EditorList;
        }

        public bool Enable()
        {
            return true;
        }

        public bool Disable()
        {
            return true;
        }

        public bool Init()
        {
            return true;
        }

        public List<string> GetCommands()
        {
            return new List<string>();
        }

        public void RunCommand(string Command, byte[] Data)
        {
            return;
        }
    }
}
